
// #ifndef VUE3
import Vue from 'vue'
import App from './App'
// import CardHeader from './components/cardHeader/header.vue'
// import MyHeader from './components/header/header.vue'

Vue.config.productionTip = false
// Vue.component('CardHeader', CardHeader)

App.mpType = 'app'

const app = new Vue({
    ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
import App from './App.vue'
import CardHeader from './components/cardHeader/header.vue'
import MyHeader from './components/header/header.vue'

export function createApp() {
  const app = createSSRApp(App)
  app.component('CardHeader', CardHeader)
  app.component('MyHeader', MyHeader)
  return {
    app
  }
}
// #endif